﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace SistemaAdministracion.Models.BaseClass
{
    [Table("replegal", Schema = "empresa")]
    public class RepLegal
    {
        [Column("idrepresentante")]
        public int IdRepresentante { get; set; }
        [Column("idpersona")]
        public int IdPersona { get; set; }
        [Column("idempresa")]
        public int IdEmpresa { get; set; }

        public virtual Persona Persona { get; set; }

        public virtual Empresa Empresa { get; set; }
    }
}
